package com.ujiuye.service.Impl;

import com.ujiuye.bean.Users;
import com.ujiuye.dao.UsersMapper;
import com.ujiuye.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UsersServiceImpl implements UsersService {

    @Autowired
    UsersMapper usersMapper;

    @Override
    public List<Users> getUsersList() {
        List<Users> list = usersMapper.selectByExample(null);
        return list;
    }
}
